<%--
  Created by IntelliJ IDEA.
  User: 冬酱
  Date: 2020/10/13
  Time: 19:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>请登录(●'◡'●)</title>
</head>
    <%--如果登陆失败给出弹窗--%>
    <%if (request.getAttribute("error")!=null){%>
        <script>alert("${error}")</script>
    <%}%>
<body>
    <%--<div>${error}</div>--%>
    <form action="/login.do">
            <div>账户：<input type="text"  name="username"></div>
            <div>密码：<input type="password"  name="password"></div>
            <div><input type="submit" value="登录"></div>
    </form>
</body>

</html>
